import Api from './request'

export const uploadApi = <T>(formData: FormData) => Api.postFile<T>('/upload', formData)